package com.agriculture.monitor.mapper;

import com.agriculture.monitor.dto.DevicePage;
import com.agriculture.monitor.entity.Device;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-03-16
 */
public interface DeviceMapper extends BaseMapper<Device> {

    Page<Device> findPage(Page page, @Param("device") DevicePage device);

}
